package com.hxzy.mapper;

import com.hxzy.entity.DictData;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * DictDataMapper继承基类
 */
@Mapper
@Repository
public interface DictDataMapper extends MyBatisBaseDao<DictData, Long> {

    /**
     * 根据dictType查询数据(前端用)
     * @param dictType
     * @return
     */
    List<DictData> findDictDataByType_api(String dictType);
}